package com.example.tcpmaster;

/**
 * Created by XinYi on 2019/5/21.
 * TCP配置
 */
public class TcpConfig {
    private static final TcpConfig ourInstance = new TcpConfig();
    private String ip;
    private int port;

    public static TcpConfig getInstance() {
        return ourInstance;
    }

    private TcpConfig() {
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
